package me.liuyu.ymall.member.oauth.DO;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 会员信息
 * </p>
 *
 * @author liuyu
 * @since 2018-06-07
 */
@TableName("member_info")
public class MemberInfo extends Model<MemberInfo> {

    private static final long serialVersionUID = 1L;

	private Long id;
	@TableField("member_name")
	private String memberName;
	@TableField("member_nick_name")
	private String memberNickName;
	@TableField("member_sex")
	private Integer memberSex;
	@TableField("member_birthday")
	private Date memberBirthday;
	@TableField("member_point_vlaue")
	private Integer memberPointVlaue;
	@TableField("member_level_id")
	private Long memberLevelId;
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getMemberNickName() {
		return memberNickName;
	}

	public void setMemberNickName(String memberNickName) {
		this.memberNickName = memberNickName;
	}

	public Integer getMemberSex() {
		return memberSex;
	}

	public void setMemberSex(Integer memberSex) {
		this.memberSex = memberSex;
	}

	public Date getMemberBirthday() {
		return memberBirthday;
	}

	public void setMemberBirthday(Date memberBirthday) {
		this.memberBirthday = memberBirthday;
	}

	public Integer getMemberPointVlaue() {
		return memberPointVlaue;
	}

	public void setMemberPointVlaue(Integer memberPointVlaue) {
		this.memberPointVlaue = memberPointVlaue;
	}

	public Long getMemberLevelId() {
		return memberLevelId;
	}

	public void setMemberLevelId(Long memberLevelId) {
		this.memberLevelId = memberLevelId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "MemberInfo{" +
			"id=" + id +
			", memberName=" + memberName +
			", memberNickName=" + memberNickName +
			", memberSex=" + memberSex +
			", memberBirthday=" + memberBirthday +
			", memberPointVlaue=" + memberPointVlaue +
			", memberLevelId=" + memberLevelId +
			", createTime=" + createTime +
			"}";
	}
}
